package com.example.mallone11.Consumer.mapper;


import com.example.mallone11.Consumer.params.ConsumerRequestParams;
import com.example.mallone11.Consumer.pojo.Consumer;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ConsumerMapper {
    //注册
    int register(String account,String passwd);
    //登录
    Consumer login(String account,String passwd);
    //根据账号查找是否被注册
    Consumer findByAccount(String account);

//    int addConsumer(ConsumerRequestParams consumerRequestParams);
}
